<template>
	<view>
		<img class="library-detail" mode="aspectFill" :src="detail"></img>
	</view>
</template>

<script>
	
	export default {
		data() {
			return {
				detail: ''
			}
		},
		onLoad(option) {
			console.log(option)
			uni.setNavigationBarTitle({
				title:option.title
			})
			this.detail = require("@/static/image/" + option.title +".png")
		},
		methods: {

		},
		onBackPress() {
			// #ifdef APP-PLUS
			plus.key.hideSoftKeybord();
			// #endif
		}
	}
</script>

<style lang="scss">
	.library-detail {
		width: 100%;
		background-color: #eeeeee;
	}
</style>